import { Router } from "express";
import { searchUserOrRoom } from "../controllers/searchController.js";
import { verifyToken } from "../utils/jwt.js";

const router = Router();

// 搜索朋友/群聊
router.get("/user-or-room", verifyToken(), searchUserOrRoom);

export default router;
